.message {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    z-index: 1000;
    padding: 0.24rem 0.3rem;
    border-radius: 0.32rem;
    box-shadow: 0 0.08rem 0.32rem rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    font-size: 0.28rem;
    min-width: 2.4rem;
    max-width: 80%;
}

.message-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* 成功提示 */
.message-success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
    border-radius: 0.32rem;
}

/* 错误提示 */
.message-error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
    border-radius: 0.32rem;
}

/* 警告提示 */
.message-warning {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    color: #faad14;
    border-radius: 0.32rem;
}

/* 信息提示 */
.message-info {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    color: #1890ff;
    border-radius: 0.32rem;
}

/* 提示内容 */
.message-content {
    margin: 0 0.1rem;
    word-break: break-word;
    text-align: center;
    padding: 0 0.1rem;
}